f2e108c28a0ee5b5fd26975e0183eaa251d7edc4,test/tools/jlink/plugins/CompressorPluginTest.java,CompressorPluginTest,test,#,75

Before Change


        Properties options2 = new Properties();
        options2.setProperty(DefaultCompressPlugin.NAME,
                "2");
        checkCompress(classes, new DefaultCompressPlugin(),
                options2,
                new ResourceDecompressorFactory[]{
                    new ZipDecompressorFactory(),
                    new StringSharingDecompressorFactory()
                });

        // compress level 2 == ZIP + String sharing + filter
        options2.setProperty(DefaultCompressPlugin.FILTER,
                "**Exception.class");
        checkCompress(classes, new DefaultCompressPlugin(),
                options2,
                new ResourceDecompressorFactory[]{
                    new ZipDecompressorFactory(),
                    new StringSharingDecompressorFactory()
                }, Collections.singletonList(".*Exception.class"));

        // compress level 0 == String sharing
        Properties options0 = new Properties();
        options0.setProperty(DefaultCompressPlugin.NAME, "0");
        checkCompress(classes, new DefaultCompressPlugin(),
                options0,
                new ResourceDecompressorFactory[]{
                    new StringSharingDecompressorFactory()
                });

        // compress level 0 == String sharing + filter
        options0.setProperty(DefaultCompressPlugin.FILTER,

After Change


                });

        // compress level 1 == String sharing
        Properties options1 = new Properties();
        options1.setProperty(DefaultCompressPlugin.NAME, "1");
        checkCompress(classes, new DefaultCompressPlugin(),
                options1,
                new ResourceDecompressorFactory[]{
                    new StringSharingDecompressorFactory()
                });

        // compress level 1 == String sharing + filter
        options1.setProperty(DefaultCompressPlugin.FILTER,